/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bamboo.drawingkid.views.components;

import javax.microedition.lcdui.Graphics;

/**
 *
 * @author tkor
 */
public class CancelButton extends Button{

    public CancelButton() {
        super("/dialog_btn_pressed.png","/dialog_btn.png");
    }
    public void onSelected() {
        
    }
    public void render(Graphics g) {
        super.render(g);
        g.setColor(0x000000);
        g.drawString("Cancel", this.x + (width/2), this.y + (height/2)+5, Graphics.BASELINE|Graphics.HCENTER);
    }
}
